#pragma once

#include <string>
#include "CLogBatch.h"
class CTableManager;

class CLogWriterServer
{
public:
	CLogWriterServer();
	virtual void setTableManager(CTableManager* tableManager);

public:
	int WriteLog(const std::string& log);

private:
	int parseLog(CLogBatchPtr logBatch);
private:
	CTableManager* m_tableManager;
};

